package com.joysuch.wwyt.bp.repository;

import com.joysuch.wwyt.bp.entity.inspect.BpInspectType;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface BpInspectTypeRepository extends JpaRepository<BpInspectType, Long>, JpaSpecificationExecutor<BpInspectType> {

    List<BpInspectType> findByName(String name);
}
